<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>显示模式</title>
		<style type="text/css">
			span {
				height: 200px;
				background-color: red;
			}

			div {
				height: 12.5rem;
				width: 200px;
				background-color: #333;
				color: #FF6700;
				text-align: center;
				line-height: 200px;
			}

			#dd {
				display: inline;
				background-color: #FF0000;
				color: #333333;
			}

			a {
				display: block;
			}

			.axl {
				display: inline-block;
				height: 200px;
				width: 200px;
				background-color: #008000;
			}
		</style>
	</head>
	<body>
		<span>我是行内元素</span>
		<strong>123</strong>
		<div id="dd">
			我是块元素
		</div>
		<div>块级元素</div>
		<a href="#">123</a>
		<a href="#" class="axl">123</a>
	</body>
</html>
